package org.backend.repository;

import org.backend.pojo.entity.Admin;
import org.backend.mapper.AdminMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class AdminRepository {

    @Autowired
    private AdminMapper adminMapper;

    public Admin login(String account) {
        return adminMapper.login(account);
    }
}
